package only.my.railgunys.weapon;

import only.my.railgunys.bean.Character;
import only.my.railgunys.bean.Weapon;

/**
 * 雾切
 */
public class MistsplitterReforged  extends Weapon {

    public MistsplitterReforged(int refineLevel) {
        this.atk = 674.0;
        this.subStatValue = 44.1;
        this.refineLevel = refineLevel;
        this.name = "雾切";
        this.code = 7;
    }

    @Override
    public Character subStatEnhance(Character character) {
        character.addCritDmg(this.subStatValue);
        return character;
    }

    @Override
    public Character specialAbility(Character character) {
        double increase = 40 *  (1 + (refineLevel - 1) * 0.25);
        character.addIncrease(increase);
        return character;
    }
}